/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved. distributed with this file and
 * available online at
 */
package com.lap.auth.domain.msg.repository;

import com.lap.auth.domain.msg.MsgTemplate;
import java.util.Optional;

/**
 * 消息模版仓储接口
 *
 * @author Shuisheng Lao(劳水生)
 * @version 0.0.1
 */
public interface MsgTemplateRepository {

  Integer save(MsgTemplate msgTemplate);

  int deleteById(Integer id);

  Optional<MsgTemplate> findById(Integer id);

  Optional<MsgTemplate> findByCode(String code);
}
